﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GameResult.aspx.cs" Inherits="_2011DBProject.GameResult" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>새벽 골프</title>
</head>
  
<body>
    <form id="form1" runat="server" visible="true">
    <br />
    <br />
    <br />
    ㅈ달잗로지ㅏㅓ리ㅏㅈ더<br />
    <br />
    <br />
    <br />
    <asp:Label ID="Label8" runat="server" Text="Label"></asp:Label>
    <br />
    <asp:Label ID="Label9" runat="server" Text="Label"></asp:Label>
    <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" 
        Visible="False">
        <ItemTemplate>
            CHARACTER_NAME:
            <asp:Label ID="CHARACTER_NAMELabel" runat="server" 
                Text='<%# Eval("CHARACTER_NAME") %>' />
            <br />
            LVL:
            <asp:Label ID="LVLLabel" runat="server" Text='<%# Eval("LVL") %>' />
            <br />
            POWER:
            <asp:Label ID="POWERLabel" runat="server" Text='<%# Eval("POWER") %>' />
            <br />
            TECHNIQUE:
            <asp:Label ID="TECHNIQUELabel" runat="server" Text='<%# Eval("TECHNIQUE") %>' />
            <br />
            IMPACT:
            <asp:Label ID="IMPACTLabel" runat="server" Text='<%# Eval("IMPACT") %>' />
            <br />
            STRENGTH:
            <asp:Label ID="STRENGTHLabel" runat="server" Text='<%# Eval("STRENGTH") %>' />
            <br />
            TIREDNESS:
            <asp:Label ID="TIREDNESSLabel" runat="server" Text='<%# Eval("TIREDNESS") %>' />
            <br />
            HADICAP:
            <asp:Label ID="HADICAPLabel" runat="server" Text='<%# Eval("HADICAP") %>' />
            <br />
            AVG_SHOTS:
            <asp:Label ID="AVG_SHOTSLabel" runat="server" Text='<%# Eval("AVG_SHOTS") %>' />
            <br />
            EXP_TO_NEXT_LEVEL:
            <asp:Label ID="EXP_TO_NEXT_LEVELLabel" runat="server" 
                Text='<%# Eval("EXP_TO_NEXT_LEVEL") %>' />
            <br />
            AVG_PUTS:
            <asp:Label ID="AVG_PUTSLabel" runat="server" Text='<%# Eval("AVG_PUTS") %>' />
            <br />
            RECENT_AVG_HANDI:
            <asp:Label ID="RECENT_AVG_HANDILabel" runat="server" 
                Text='<%# Eval("RECENT_AVG_HANDI") %>' />
            <br />
            HOLE_IN_ONE_QTY:
            <asp:Label ID="HOLE_IN_ONE_QTYLabel" runat="server" 
                Text='<%# Eval("HOLE_IN_ONE_QTY") %>' />
            <br />
            MAX_DISTANCE:
            <asp:Label ID="MAX_DISTANCELabel" runat="server" 
                Text='<%# Eval("MAX_DISTANCE") %>' />
            <br />
            NG_AMOUNT:
            <asp:Label ID="NG_AMOUNTLabel" runat="server" Text='<%# Eval("NG_AMOUNT") %>' />
            <br />
            COUNT_SHOTS:
            <asp:Label ID="COUNT_SHOTSLabel" runat="server" 
                Text='<%# Eval("COUNT_SHOTS") %>' />
            <br />
            EXPERIENCE:
            <asp:Label ID="EXPERIENCELabel" runat="server" 
                Text='<%# Eval("EXPERIENCE") %>' />
            <br />
            COUNT_PUTS:
            <asp:Label ID="COUNT_PUTSLabel" runat="server" 
                Text='<%# Eval("COUNT_PUTS") %>' />
            <br />
            <br />
        </ItemTemplate>
    </asp:DataList>
    <asp:DataList ID="DataList2" runat="server" DataSourceID="SqlDataSource2" 
        Visible="False">
        <ItemTemplate>
            EXP_RATE:
            <asp:Label ID="EXP_RATELabel" runat="server" Text='<%# Eval("EXP_RATE") %>' />
            <br />
            REWARD_RATE:
            <asp:Label ID="REWARD_RATELabel" runat="server" 
                Text='<%# Eval("REWARD_RATE") %>' />
            <br />
            <br />
        </ItemTemplate>
    </asp:DataList>
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" SelectCommand="SELECT G.EXP_RATE, G.REWARD_RATE
FROM GRADE_BENEFIT G, ACCOUNT A
WHERE A.ACCOUNT_ID = :ACCOUNT_ID AND A.GRADE_NO = G.GRADE_NO">
        <SelectParameters>
            <asp:SessionParameter Name="ACCOUNT_ID" SessionField="USER" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
        SelectCommand="SELECT &quot;CHARACTER_NAME&quot;, &quot;LVL&quot;, &quot;POWER&quot;, &quot;TECHNIQUE&quot;, &quot;IMPACT&quot;, &quot;STRENGTH&quot;, &quot;TIREDNESS&quot;, &quot;HADICAP&quot;, &quot;AVG_SHOTS&quot;, &quot;EXP_TO_NEXT_LEVEL&quot;, &quot;AVG_PUTS&quot;, &quot;RECENT_AVG_HANDI&quot;, &quot;HOLE_IN_ONE_QTY&quot;, &quot;MAX_DISTANCE&quot;, &quot;NG_AMOUNT&quot;, &quot;COUNT_SHOTS&quot;, &quot;EXPERIENCE&quot;, &quot;COUNT_PUTS&quot; FROM &quot;CHARACTER&quot; WHERE ((&quot;SERVER_NO&quot; = :SERVER_NO) AND (&quot;CHARACTER_NAME&quot; = :CHARACTER_NAME))">
        <SelectParameters>
            <asp:SessionParameter Name="SERVER_NO" SessionField="SERVER" Type="Decimal" />
            <asp:SessionParameter Name="CHARACTER_NAME" SessionField="CHARACTER_NAME" 
                Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />게임이 끝났습니다.<br />
    이번 게임에서의 기록을 입력하세요.<br />
    <br />
    <asp:Label ID="lblMsg" runat="server" ForeColor="#FF9933" Font-Bold="False" 
        Font-Size="20pt"></asp:Label>
    <br />
    <br />　평균타수 :
    <asp:TextBox ID="txtAvgShot" runat="server"></asp:TextBox>
&nbsp; // 타구횟수 : <asp:TextBox ID="txtCountShot" runat="server" width="150"></asp:TextBox>
    <br />
    <br />평균퍼터수 : 
    <asp:TextBox ID="txtAvgPut" runat="server"></asp:TextBox>
    &nbsp; // 퍼터횟수 : 
    <asp:TextBox ID="txtCountPut" runat="server" 
        width="150"></asp:TextBox>
    <br />
    <br />
    최고비거리 : 
    <asp:TextBox ID="txtMaxDis" runat="server" TextMode="Password" 
        width="150"></asp:TextBox>
    <br />
    <br />
    홀인원횟수 : 
    <asp:TextBox ID="txtHole" runat="server" TextMode="Password" 
        width="150"></asp:TextBox>
    <br />
    <br />
    <br />
    <br />
    <br />
    얻은 경험치 :
    <asp:Label ID="lblExp" runat="server" Text="Label"></asp:Label>
    <br />
    <br />
    언은 상금 :
    <asp:Label ID="lblNG" runat="server" Text="Label"></asp:Label>
    <br />
    <br />
    <asp:Button ID="btnGo" runat="server" onclick="btnGo_Click" Text="기록입력!" 
        Width="80px" />
    <br />
    <br />
    <br />
    <br />
    <br />
    <asp:Label ID="lblLevelUpMsg" runat="server" 
        Text="축하합니다. 레벨업하셨어요. +2 만큼 증가시킬 스탯을 입력하세요." Visible="False"></asp:Label>
    <br />
    <br />
    <asp:Label ID="Label4" runat="server" Text="파워 : " Visible="False"></asp:Label>
    <asp:TextBox ID="txtPower" runat="server" Width="35px" Height="22px" 
        Visible="False"></asp:TextBox>
    <br />
    <asp:Label ID="Label5" runat="server" Text="기술 : "></asp:Label>
    <asp:TextBox ID="txtTech" runat="server" Width="35px" Visible="False"></asp:TextBox>
    <br />
    <asp:Label ID="Label6" runat="server" Text="체력 : "></asp:Label>
    <asp:TextBox ID="txtStr" runat="server" Width="35px" Visible="False"></asp:TextBox>
    <br />
    <asp:Label ID="Label7" runat="server" Text="임팩 : "></asp:Label>
    <asp:TextBox ID="txtImp" runat="server" Width="35px" Visible="False"></asp:TextBox>
    <br />
    <br />
    <br />
    <asp:Button ID="btnLevelGo" runat="server" onclick="btnLevelGo_Click" Text="스탯증가!" 
        Width="80px" style="height: 26px" Visible="False" />
    &nbsp;<br />
    <br />
    <br />
    <br />
</form>

</body>

</html>
